package http.request;

import java.util.HashMap;
import java.util.Map;

public class HttpUpowerPayParam implements UpowerPayParam {

  private String nonce_str;

  private String sign;

  private String device_no;

  private String device_source;

  private String pp_trade_no;

  public Map<String, String> getParams() {
    Map<String, String> result = new HashMap<String, String>();
    result.put("nonce_str", getNonce_str());
    result.put("device_no", this.getDevice_no());
    result.put("device_source", this.getDevice_source());
    result.put("pp_trade_no", this.getPp_trade_no());
    return result;
  }

  public String getNonce_str() {
    return nonce_str;
  }

  public void setNonce_str(String nonce_str) {
    this.nonce_str = nonce_str;
  }

  public String getSign() {
    return sign;
  }

  public void setSign(String sign) {
    this.sign = sign;
  }

  public String getDevice_no() {
    return device_no;
  }

  public void setDevice_no(String device_no) {
    this.device_no = device_no;
  }

  public String getDevice_source() {
    return device_source;
  }

  public void setDevice_source(String device_source) {
    this.device_source = device_source;
  }

  public String getPp_trade_no() {
    return pp_trade_no;
  }

  public void setPp_trade_no(String pp_trade_no) {
    this.pp_trade_no = pp_trade_no;
  }

}
